/*
 * EggFactory.cpp
 *
 *  Created on: Nov 18, 2012
 *      Author: lucas
 */

#include "EggFactory.h"
#include "WhiteEgg.h"

Egg* EggFactory::createEgg(eggTypes tEgg, double x, double y, Vector2D speed) {
	switch (tEgg) {
	case Blanco:
		//return new WhiteEgg(x, y, speed);
		break;
	case Poche:
		//return new PoachedEgg(x, y, speed);
		break;
	case Codorniz:
		//return new CodornizEgg(x, y, speed);
		break;
	case Reloj:
		//return new ClockEgg(x, y, speed);
		break;
	default:
		break;
	}
	return new WhiteEgg(x, y, speed);

}

EggFactory::~EggFactory() {
	// TODO Auto-generated destructor stub
}

